﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Intrinsics.X86;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMS.Seven.Models;
using WMSProject.XiangHe;

namespace WMSProject.SuJiaHao
{
    /// <summary>
    /// 报损管理服务接口
    /// </summary>
    public interface ILossReportingService: IApplicationService
    {
        /// <summary>
        /// 获取报损管理泪飙
        /// </summary>
        /// <param name="pageIndex">页容量</param>
        /// <param name="pageSize">当前页</param>
        /// <returns>返回报损管理的泛型集合</returns>
        Task<ReturnSelect<object>> GetLossReportingList(string reportNumber, int pageIndex, int pageSize);

        /// <summary>
        /// 报损管理添加
        /// </summary>
        /// <param name="input">报损管理实体</param>
        /// <returns></returns>
        Task<int> GetCreateLossReporting(CreateLossReportingDTO input);

        /// <summary>
        /// 报损管理信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteLossReporting(int id);

        /// <summary>
        /// 报损管理反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回客户信息实体</returns>
        Task<LossReportingManagement> GetLossReportingManagement(int id);

        /// <summary>
        /// 报损管理修改
        /// </summary>
        /// <param name="input">仓库实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateLossReporting(CreateLossReportingDTO input);
    }
}
